package com.github.rxyor.ddd.service.infrastructure.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import com.github.rxyor.ddd.service.infrastructure.repository.entity.OrderDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderMapper extends BaseMapper<OrderDO> {

    int updateBatch(List<OrderDO> list);

    int batchInsert(@Param("list") List<OrderDO> list);

    int insertOrUpdate(OrderDO record);

    int insertOrUpdateSelective(OrderDO record);
}